package com.mj.action;

import lombok.Data;

@Data
public class LoginAction {
    private String uname;
    private String upass;
    public String login(){
        String result = "success";
        if (!uname.equals("admin") || !upass.equals("0605")){
            result = "fail";
        }
        return result;
    }
}
